package com.eight.paper.admin.domain.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * 子选项
 *
 * @author 爱考线上考试系统
 * @date 2023-10-04
 */
@Data
public class B1SubOption {

    @ApiModelProperty("选项编号，A-Z")
    @NotBlank(message = "选项编号不能为空")
    @Pattern(regexp = "^[A-Z]$", message = "选项编号可选字母为大写[A-Z]")
    private String seqCode;
}
